<form action="" class="form-horizontal" data-toggle="validator" id="edit-form" method="POST" role="form">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="game,subarea,modes,levels">
                <select class="game form-control" name="row[game_id]" data-url="ajax/game" data-rule="required">
                    <option value="{$row.game_id}" selected=""></option>
                </select>
                <select class="subarea form-control" name="row[subarea_id]" data-url="ajax/subarea"
                        data-rule="required">
                    <option value="{$row.subarea_id}" selected=""></option>
                </select>
                <select class="modes form-control" name="row[mode_id]" data-url="ajax/modes" data-rule="required">
                    <option value="{$row.mode_id}" selected=""></option>
                </select>
                <select class="levels form-control" name="row[level_id]" data-url="ajax/levels" data-rule="required">
                    <option value="{$row.level_id}" selected=""></option>
                </select>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Third_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-third_id" data-rule="required" class="form-control" name="row[third_id]" type="text"
                   value="{$row.third_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qr_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input class="form-control" data-rule="required" id="c-qr_img" name="row[qr_img]" size="50" type="text"
                       value="{$row.qr_img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button class="btn btn-danger faupload" data-input-id="c-qr_img"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp"
                                  data-multiple="false"
                                  data-preview-id="p-qr_img"
                                  id="faupload-qr_img" type="button"><i
                            class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button class="btn btn-primary fachoose" data-input-id="c-qr_img" data-mimetype="image/*"
                                  data-multiple="false" id="fachoose-qr_img" type="button"><i
                            class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-qr_img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-qr_img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button class="btn btn-primary btn-embossed disabled" type="submit">{:__('OK')}</button>
        </div>
    </div>
</form>
